<?php
/**
{
    "schoolTagId": "INT //学校标签id",
    "schoolId": "INT //学校@foreign::tbl_school; @search",
    "tagId": "INT //标签@foreign::tbl_tag; @search; ",
    "tagName": "VARCHAR //标签@search; ",
    "status": "TINYINT //状态@status; 3::有效; 88::删除"
}
 */

class SchoolTag extends Base
{
    
	private $schoolTagId= '';//学校标签id
	private $schoolId= '';//学校@foreign::tbl_school;@search
	private $tagId= '';//标签@foreign::tbl_tag;@search;
	private $tagName= NULL;//标签@search;
	private $status= "3";//状态@status;3::有效;88::删除

    public $isDbData = false;

    public function __construct()
    {
        parent::__construct();
    }


    public function __get($name) {
        return $this->$name;
    }

    public function __set($name, $value) {
        if(!$this->isDbData){
            if(!in_array($name,$this->loadedFiled))$this->loadedFiled[] = $name;
        }

        $this->$name=$value;
        $this->arr[$name] = $value;
    }

    public  function table()
    {
        return 'tbl_school_tag';
    }
    
    public  function key(){
        return 'schoolTagId';
    }


    
    public static  function hideField()
    {
        return [];
    }
            
    public static  function skipField()
    {
        return [];
    }
            
    public static  function noViewField()
    {
        return [];
    }
            
    public static  function jsonField()
    {
        return [];
    }
            
    public static  function noLoadField()
    {
        return [];
    }
            
    public static  function deleteField()
    {
        return [];
    }
            
    public function className()
    {
        return 'SchoolTag';
    }
    
    public  function field()
    {
        return array (  'schoolTagId' =>   array (    0 => 'INT',    1 => 11,    2 => '学校标签id',  ),  'schoolId' =>   array (    0 => 'INT',    1 => 11,    2 => '学校@foreign::tbl_school;@search',  ),  'tagId' =>   array (    0 => 'INT',    1 => 11,    2 => '标签@foreign::tbl_tag;@search;',  ),  'tagName' =>   array (    0 => 'VARCHAR',    1 => 100,    2 => '标签@search;',  ),  'status' =>   array (    0 => 'TINYINT',    1 => 4,    2 => '状态@status;3::有效;88::删除',  ),);
    }


}